package com.yin.spring5.service;

import com.yin.spring5.dao.UserDao;

/**
 * UserService
 *
 * @author Yin Guiqing
 */
public class UserService {
    UserDao dao;

    public void setDao(UserDao dao) {
        this.dao = dao;
    }

    public void deleteUser() {
        System.out.println("UserService#deleteUser()...");
        dao.delete();
    }
}
